package com.aiyige.model.request;

import com.aiyige.base.api.ApiManager;

import okhttp3.ResponseBody;
import retrofit2.Call;

/**
 * Created by xiachao
 */

public class SearchSellerOrdersAllTypeRequest {
        String keyWord;

    private SearchSellerOrdersAllTypeRequest(Builder builder) {
        keyWord = builder.keyWord;
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public static final class Builder {
        private String keyWord;

        private Builder() {
        }

        public Builder keyWord(String keyWord) {
            this.keyWord = keyWord;
            return this;
        }

        public Call<ResponseBody> build() {
            return ApiManager.getService().getSellerOrderZone(keyWord);
        }
    }
}
